The Source Control Integration API > The source control integration API optional functions > SCS_GetErrorMessageLength()

 

SCS_GetErrorMessageLength()

Description

Returns the length of the DLL's current internal error message. This is used to allocate the buffer passed into the GetErrorMessage() function. This function should be called only if an API function returns false or <0, indicating a failure of that API function.

Arguments

connectionData

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.

Returns

An integer representing the length of the error message.